package com.ruoyi.app.service

import com.ruoyi.app.common.Data
import com.ruoyi.app.domain.vo.PicProcessResultVo
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

interface UserExperienceRecordApiService {

    /**
     * 体验文生图 图生图
     */
    fun experienceRecord(id: Long): Data<PicProcessResultVo>


    /**
     * 获取文生图模板
     */
    fun getText2PicModel(): Data<List<Text2PicModel>>

    /**
     * 获取图生图模板
     */
    fun getPic2PicModel(): Data<List<Pic2PicModel>>
}


@ApiModel("文生图模板")
data class Text2PicModel(

    var id: Long? = null,

    @ApiModelProperty("描述词")
    var descText: String? = null,
)

@ApiModel("图生图模板")
data class Pic2PicModel(

    var id: Long? = null,

    @ApiModelProperty("描述词")
    var descText: String? = null,

    @ApiModelProperty("图片")
    var initPic: String? = null,
)